package com.daigoudao.web.service.impl;

import java.util.List;

import com.daigoudao.web.dao.ICommonDao;
import com.daigoudao.web.model.AreaModel;
import com.daigoudao.web.model.CategoryModel;
import com.daigoudao.web.model.TopTagModel;
import com.daigoudao.web.service.ICommonService;

public class CommonServiceImpl implements ICommonService {

	private ICommonDao commonDao;

	public void setCommonDao(ICommonDao commonDao) {
		this.commonDao = commonDao;
	}

	@Override
	public List<AreaModel> queryAreas() throws Exception {
		return commonDao.queryAreas();
	}

	@Override
	public List<CategoryModel> queryCategorys() throws Exception {
		return commonDao.queryCategorys();
	}

	@Override
	public List<TopTagModel> queryTags() throws Exception {
		return commonDao.queryTags();
	}

}
